package basic_1001;

import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner scanner=new Scanner(System.in);
		int N=scanner.nextInt();
		for(int i=0;i<N;i++) {
			long A=scanner.nextLong();
			long B=scanner.nextLong();
			long C=scanner.nextLong();
			System.out.print(String.format("Case #%d: %s\n", i+1,(A+B>C)?"true":"false"));
		}
		scanner.close();
	}
}
